package com.bobo.web.provider.controller.api;

import com.bobo.web.api.domain.game.PlayPlanDO;
import com.bobo.web.api.vo.base.ResponseResult;
import com.bobo.web.provider.service.PlanPlayService;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class AsyncTest {
    @Resource
    private PlanPlayService planPlayService;
    @Async
    public void doTaskOne(PlayPlanDO playPlanDO) {
        ResponseResult<Integer> responseResult = planPlayService.insertPlayPlanSelective(playPlanDO);
    }
}
